package com.basic.minio.domain;


import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * Minio 对象
 *
 * @author zhaoxy_jn@163.com
 * @date 2024-08-10
 */
@Data
public class MinioPearVo {

    /**
     * 上传Id
     */
    private String uploadId;

    /**
     * 获取分片上传URL
     */
    private List<PearUploadData> parts;

    private String filePath;

    @Data
    @Accessors(chain = true)
    public static class PearUploadData{
        /**
         * 分片编号，从1开始
         */
        private int parkNum;
        /**
         * 分片上传Url
         */
        private String uploadUrl;
    }

}
